package com.example.tsbs.util;

import com.sun.jna.Library;
import com.sun.jna.Native;
import com.sun.jna.ptr.FloatByReference;

public interface MyLibrary extends Library {

    MyLibrary INSTANTCE =  Native.load("/root/danjidi/test/libTS_TARGET_2.so", MyLibrary.class);

    int TS_target_free_frec(String ddtPath, String[] files, float SourceX0, float SourceY0, float SourceZ0,
                            float SourceRX0, float SourceRY0, float SourceRZ0, float frec_low, float frec_step, float frec_high,
                            FloatByReference[] xData, FloatByReference[] yData, FloatByReference[] zData);

    int TS_target_free_frec(String ddtPath, String[] files, float SourceX0, float SourceY0, float SourceZ0,
                            float SourceRX0, float SourceRY0, float SourceRZ0, float frec_low, float frec_step, float frec_high,
                            com.example.tsbs.test.FloatByReference xData, com.example.tsbs.test.FloatByReference yData, com.example.tsbs.test.FloatByReference zData);
}
